/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-24 19:11:03
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-24 19:16:26
 * @别瞎看: 你个无脑牛马
 */
class Student extends Person implements ISingable,IFlyable{
    int id;
    double score;
    //构造方法
    public Student(String name,int age,int id,double score){
        super(name,age);
        this.id=id;
        this.score=score;
    }
    void study(){
        System.out.println(name+" is studying.");
    }
    @Override
    public void sing(){
        System.out.println(name+" is singing");
    }
    @Override
    public void flyAction() {
        System.out.println(name+" is flying.(But only in imangenation)");
    }
}